package com.hmkj.core.service.operate;


import com.hmkj.core.model.operate.AgentModel;
import com.hmkj.core.po.operate.Agent;
import com.hmkj.core.service.base.GenericService;

/**
 * 代理商表业务相关Service接口<br>
 *
 * @ClassName: AgentService
 * @author bin
 * @date   2017-11-07 02:41:04
 */
public interface AgentService extends GenericService<Integer, Agent> {

     void addAgent(AgentModel agentModel)throws Exception;

     void editAgent(AgentModel agentModel)throws Exception;

     void  deleteAgent(Integer id)throws Exception;

     Agent selectAgentByDomain(String domain);
}
